﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="edit.aspx.cs" Inherits="AnyOffice.general.system.code.edit" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title></title>
    <script Language="JavaScript">
function CheckForm()
{
   if(document.form1.txtCodeNo.value=="")
   { alert("代码编号不能为空！");
     return (false);
   }

   if(document.form1.txtCodeNo.value=="")
   { alert("代码名称不能为空！");
     return (false);
   }
}
</script>
</head>
<body class="bodycolor" topmargin="5">
    <form id="form1" runat="server">
     <div class="main_div">
        <asp:Panel ID="pnlMain" runat="server">
        
    <table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
  <tr>
    <td class="tab_ti">编辑代码项
    </td>
  </tr>
</table>

<br>
<TABLE class="tab_pub" cellSpacing="0" cellPadding="0" width="500" align="center" border="0">
   <tr height="30">
    <td nowrap class="ta_bg">代码主分类：</td>
    <td nowrap class="ta_txt">
        <asp:Literal ID="litCodeName" runat="server"></asp:Literal>
    </td>
   </tr>
   <tr>
    <td nowrap class="ta_bg">代码编号：</td>
    <td nowrap class="ta_txt">
        <asp:TextBox ID="txtCodeNo" runat="server" CssClass="BigInput" MaxLength="200"></asp:TextBox></td>
   </tr>
   <tr>
    <td nowrap class="ta_bg">代码名称：</td>
    <td nowrap class="ta_txt">
        <asp:TextBox ID="txtCodeName" runat="server" CssClass="BigInput" MaxLength="200"></asp:TextBox></td>
   </tr>
   <tr>
    <td nowrap  class="bnt_con" colspan="2" align="center">
        <input type="submit" value="确 定" class="BigButton" onclick="return CheckForm()">
        <input type="button" value="返 回" class="BigButton" onclick="history.back();">
    </td>
</table>
</asp:Panel>
        <asp:Literal ID="litMessage" runat="server"></asp:Literal>
        </div>
    </form>
</body>
</html>
